package com.momento.tibco.courselearn;

import android.app.Application;

import com.umeng.analytics.AnalyticsConfig;

/**
 * Created by xiaoyu on 2016/1/28.
 */
public class CourseApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        if (BuildConfig.BUILD_TYPE.equalsIgnoreCase("debug")){
            Logger.setDebugMode(Logger.MODE_DEBUG);
        }else {
            Logger.setDebugMode(Logger.MODE_RELEASE);
        }
        Logger.setTag("CourseLearn");
        initSdk();
    }

    private void initSdk() {
        AnalyticsConfig.setAppkey(this,"56ab1c44e0f55ae92d0003d9");
    }
}
